<template>
  <div class="container">
    <videos :list="list"></videos>
  </div>
</template>

<script>
import videos from "@/components/item-video";
import { getProjectList } from "@/api/miva";
export default {
  components: {
    videos
  },
  data() {
    return {
      show: false,
      list: []
    };
  },
  created() {
    this.$store.commit("SETTING_HEADER_ACTIVE", 1);
  },
  async mounted() {
    await this.getProjectList();
  },
  methods: {
    async getProjectList() {
      const res = await getProjectList({ type: 4 });
      this.list = res.data;
      console.log(this.list);
    }
  }
};
</script>

<style lang="less">
.container {
  background: #fff;
  .content {
    margin: 0 auto;
  }
}
</style>